# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol> 
pkgname=liblzf
pkgver=3.6
pkgrel=0
pkgdesc="A very small data compression library"
url="http://oldhome.schmorp.de/marc/liblzf.html"
arch="all"
license="MIT/GPL2"
depends=""
makedepends="$depends"
subpackages="$pkgname-dev"
source="http://dist.schmorp.de/liblzf/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=$pkgdir/usr
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR=$pkgdir install || return 1 
}

sha512sums="b9a35a7cfa769a5b4a669747d36962bb41e2a1517367dcb390f6285740be4c6478ec5227697536fc1fb982707eeda16b5627cb08b513b4d379901d86fb1d3710  liblzf-3.6.tar.gz"
